Auto merge of #3478 - alexcrichton:lift, r=brson
authorbors <bors@rust-lang.org>
Thu, 12 Jan 2017 02:03:34 +0000 (02:03 +0000)
committerbors <bors@rust-lang.org>
Thu, 12 Jan 2017 02:03:34 +0000 (02:03 +0000)
commit4b351eadce9330fa2d17219b48bbcdc8cef255e7
treebe8ed0301f47e9ebe8553248688f9bdd7b95c0eb
parentd12cc03cf3b144bc7f13707f40d29edb79dc259d
parent3cbf141b5095b95a752f51574151b91fd7fddd1e
Auto merge of #3478 - alexcrichton:lift, r=brson

Lift up workspace rlibs while building

I think the condition here was slightly off from before, so invert it subtly to
get what we want, lifting up anything in a workspace or binaries otherwise.

Closes #3432
src/cargo/ops/cargo_rustc/context.rs